package com.zhangbo.study.designpatternlearning.exterior;

/**
 * 外观模式运行类
 */
public class ExteriorRun {

    public static void main(String[] args) {
        Door door = new Door();
        Light light = new Light();
        UserExterior user = new UserExterior(door,light);
        user.getHome();

        user.goOut();
    }
}
